package com.zbmy.plugin.im.server.core.back.dispact;

import java.util.List;

public interface ClientFactory {
	// ------------ 查询和新增 ------------
	NettyClient get(final RemotingUrl url) throws Exception;

    // ------------ 查询 ------------
    List<NettyClient> getAllClients() throws Exception;

    // ------------ 删除 ------------
    void remove(final RemotingUrl url) throws Exception;
}
